﻿ALTER TABLE [dbo].[Templates]
    ADD CONSTRAINT [FK_Template_TemplateType] FOREIGN KEY ([TemplateType_id]) REFERENCES [dbo].[TemplateTypes] ([Id]) ON DELETE CASCADE ON UPDATE NO ACTION;

